<div id="templatemo_header_wrapper">
    <div id="templatemo_header">
        <div id="site_title"><a href="index.php">Backpack<span>&nbsp;Tourists</span></a></div>
        <div id="templatemo_menu" class="ddsmoothmenu">
            <ul>
                <li><a href="index.php" {if isset($menuPage)}{if $menuPage == 'Home'} class="selected" {/if}{/if}>Home</a></li>
                <li><a href="underConstruction.php?page=About" {if isset($menuPage)}{if $menuPage == 'About'} class="selected" {/if}{/if}>About</a></li>
                <li><a href="underConstruction.php?page=Affiliates" {if isset($menuPage)}{if $menuPage == 'Affiliates'} class="selected" {/if}{/if}>Affiliates</a></li>
                {if $logged == true}
                    <li><a href="manageBookings.php" {if isset($menuPage)}{if $menuPage == 'Account'} class="selected" {/if}{/if}>Account</a>
                        <ul>
                            <li><span class="top"></span><span class="bottom"></span></li>
                            <li><a href="manageBookings.php" {if isset($menuPage)}{if $menuPage == 'Manage your booking'} class="selected" {/if}{/if}>Manage your booking</a></li>
                            <li><a href="login.php?logout=true">Log-Out</a></li>
                        </ul>
                    </li>
                {else}
                    <li><a href="{if isset($userReferred)}{if $userReferred == true}#{/if}{else}login.php{/if}" {if isset($menuPage)}{if $menuPage == 'Log-In'} class="selected" {/if}{/if}>Log-In</a></li>
                {/if}
                <li><a href="contact.php">Contact</a></li>
            </ul>
            <br style="clear: left" />
        </div> <!-- end of templatemo_menu -->
    </div> <!-- END of header -->
</div>